package com.yonyou.domain;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 抽奖轮次  实体类
 * @author shenjzh
 *
 */
@Document(collection="drawturn")
@ApiModel(value="抽奖轮次 ")
public class DrawTurn {
	@Id
	@ApiModelProperty(value="/抽奖轮次IDID")
	private String id;//抽奖轮次ID
	
	@ApiModelProperty(value="奖项ID")
	private String prize_id;//奖项ID
	
	@ApiModelProperty(value = "第几轮次")
	private Integer turn;
	
	@ApiModelProperty(value="抽奖轮次中奖名额")
	private Integer winning_quota;//抽奖轮次中奖名额
	
	@ApiModelProperty(value="抽奖轮次抽奖形式,0,1,2,3分别对应按人抽，按组抽，按部门抽，按桌抽")
	private String draw_form;//抽奖形式,0,1,2,3分别对应按人抽，按组抽，按部门抽，按桌抽
	
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPrize_id() {
		return prize_id;
	}

	public void setPrize_id(String prize_id) {
		this.prize_id = prize_id;
	}

	public Integer getTurn() {
		return turn;
	}

	public void setTurn(Integer turn) {
		this.turn = turn;
	}

	public Integer getWinning_quota() {
		return winning_quota;
	}

	public void setWinning_quota(Integer winning_quota) {
		this.winning_quota = winning_quota;
	}

	public String getDraw_form() {
		return draw_form;
	}

	public void setDraw_form(String draw_form) {
		this.draw_form = draw_form;
	}
	
}
